package com.example.test;

import java.util.List;

/**
 * Created by 咔咔吃萝卜 on 2017/5/31.
 */

public class CityBean {


    /**
     * status : 0
     * msg : ok
     * result : {"city":"北京","cityid":"1","citycode":"101010100","date":"2017-05-31","week":"星期三","weather":"霾","temp":"27","temphigh":"33","templow":"18","img":"53","humidity":"53%","pressure":"","windspeed":"","winddirect":"南风","windpower":"小于3级","updatetime":"2017-05-31 10:30","index":[{"iname":"空调指数","ivalue":"","detail":""},{"iname":"运动指数","ivalue":"不适宜","detail":""},{"iname":"紫外线指数","ivalue":"","detail":""},{"iname":"感冒指数","ivalue":"低发期","detail":""},{"iname":"洗车指数","ivalue":"不适宜","detail":""},{"iname":"空气污染扩散指数","index":"","detail":""},{"iname":"穿衣指数","ivalue":"薄短袖类","detail":""}],"daily":[{"date":"2017-05-31","week":"星期三","sunrise":"","sunset":"","night":{"weather":"阴","templow":"18","img":"2","winddirect":"","windpower":""},"day":{"weather":"阴","temphigh":"33","img":"2","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-01","week":"星期四","sunrise":"","sunset":"","night":{"weather":"多云","templow":"17","img":"1","winddirect":"","windpower":""},"day":{"weather":"晴","temphigh":"30","img":"0","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-02","week":"星期五","sunrise":"","sunset":"","night":{"weather":"阴","templow":"13","img":"2","winddirect":"","windpower":""},"day":{"weather":"阵雨","temphigh":"26","img":"3","winddirect":"东风","windpower":"小于3级"}},{"date":"2017-06-03","week":"星期六","sunrise":"","sunset":"","night":{"weather":"晴","templow":"17","img":"0","winddirect":"","windpower":""},"day":{"weather":"多云","temphigh":"29","img":"1","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-04","week":"星期日","sunrise":"","sunset":"","night":{"weather":"多云","templow":"20","img":"1","winddirect":"","windpower":""},"day":{"weather":"晴","temphigh":"32","img":"0","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-05","week":"星期一","sunrise":"","sunset":"","night":{"weather":"小雨","templow":"17","img":"7","winddirect":"","windpower":""},"day":{"weather":"阴","temphigh":"28","img":"2","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-06","week":"星期二","sunrise":"","sunset":"","night":{"weather":"多云","templow":"15","img":"1","winddirect":"","windpower":""},"day":{"weather":"阴","temphigh":"25","img":"2","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-07","week":"星期三","sunrise":"","sunset":"","night":{"weather":"少云","templow":"18","img":"1","winddirect":"","windpower":""},"day":{"weather":"局部多云","temphigh":"29","img":"1","winddirect":"南风","windpower":"3级"}},{"date":"2017-06-08","week":"星期四","sunrise":"","sunset":"","night":{"weather":"晴","templow":"19","img":"0","winddirect":"","windpower":""},"day":{"weather":"零散阵雨","temphigh":"32","img":"7","winddirect":"西北偏西风","windpower":"3级"}},{"date":"2017-06-09","week":"星期五","sunrise":"","sunset":"","night":{"weather":"局部多云","templow":"21","img":"1","winddirect":"","windpower":""},"day":{"weather":"局部多云","temphigh":"34","img":"1","winddirect":"西风","windpower":"3级"}}],"aqi":{"so2":"4","so224":"3","no2":"65","no224":"43","co":"0.880","co24":"0.660","o3":"70","o38":"33","o324":"63","pm10":"143","pm1024":"86","pm2_5":"114","pm2_524":"60","iso2":"2","ino2":"33","ico":"10","io3":"23","io38":"17","ipm10":"91","ipm2_5":"149","aqi":"149","primarypollutant":"PM2.5","quality":"轻度污染","timepoint":"2017-05-31 09:00:00","aqiinfo":{"level":"三级","color":"#FF7E00","affect":"易感人群症状有轻度加剧，健康人群出现刺激症状","measure":"儿童、老年人及心脏病、呼吸系统疾病患者应减少长时间、高强度的户外锻炼"}},"hourly":[{"time":"11:00","weather":"少云","temp":"29","img":"1"},{"time":"12:00","weather":"晴","temp":"31","img":"0"},{"time":"13:00","weather":"晴","temp":"32","img":"0"},{"time":"14:00","weather":"晴","temp":"33","img":"0"},{"time":"15:00","weather":"少云","temp":"33","img":"1"},{"time":"16:00","weather":"局部多云","temp":"33","img":"1"},{"time":"17:00","weather":"晴","temp":"33","img":"0"},{"time":"18:00","weather":"局部多云","temp":"32","img":"1"},{"time":"19:00","weather":"少云","temp":"29","img":"1"},{"time":"20:00","weather":"少云","temp":"27","img":"1"},{"time":"21:00","weather":"局部多云","temp":"26","img":"1"},{"time":"22:00","weather":"局部多云","temp":"25","img":"1"},{"time":"23:00","weather":"少云","temp":"23","img":"1"},{"time":"0:00","weather":"少云","temp":"22","img":"1"},{"time":"1:00","weather":"少云","temp":"21","img":"1"},{"time":"2:00","weather":"晴","temp":"20","img":"0"},{"time":"3:00","weather":"晴","temp":"19","img":"0"},{"time":"4:00","weather":"晴","temp":"18","img":"0"},{"time":"5:00","weather":"晴","temp":"18","img":"0"},{"time":"6:00","weather":"晴","temp":"19","img":"0"},{"time":"7:00","weather":"晴","temp":"22","img":"0"},{"time":"8:00","weather":"晴","temp":"23","img":"0"},{"time":"9:00","weather":"晴","temp":"25","img":"0"},{"time":"10:00","weather":"晴","temp":"26","img":"0"}]}
     */

    public String status;
    public String msg;
    public ResultBean result;

    public static class ResultBean {
        /**
         * city : 北京
         * cityid : 1
         * citycode : 101010100
         * date : 2017-05-31
         * week : 星期三
         * weather : 霾
         * temp : 27
         * temphigh : 33
         * templow : 18
         * img : 53
         * humidity : 53%
         * pressure :
         * windspeed :
         * winddirect : 南风
         * windpower : 小于3级
         * updatetime : 2017-05-31 10:30
         * index : [{"iname":"空调指数","ivalue":"","detail":""},{"iname":"运动指数","ivalue":"不适宜","detail":""},{"iname":"紫外线指数","ivalue":"","detail":""},{"iname":"感冒指数","ivalue":"低发期","detail":""},{"iname":"洗车指数","ivalue":"不适宜","detail":""},{"iname":"空气污染扩散指数","index":"","detail":""},{"iname":"穿衣指数","ivalue":"薄短袖类","detail":""}]
         * daily : [{"date":"2017-05-31","week":"星期三","sunrise":"","sunset":"","night":{"weather":"阴","templow":"18","img":"2","winddirect":"","windpower":""},"day":{"weather":"阴","temphigh":"33","img":"2","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-01","week":"星期四","sunrise":"","sunset":"","night":{"weather":"多云","templow":"17","img":"1","winddirect":"","windpower":""},"day":{"weather":"晴","temphigh":"30","img":"0","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-02","week":"星期五","sunrise":"","sunset":"","night":{"weather":"阴","templow":"13","img":"2","winddirect":"","windpower":""},"day":{"weather":"阵雨","temphigh":"26","img":"3","winddirect":"东风","windpower":"小于3级"}},{"date":"2017-06-03","week":"星期六","sunrise":"","sunset":"","night":{"weather":"晴","templow":"17","img":"0","winddirect":"","windpower":""},"day":{"weather":"多云","temphigh":"29","img":"1","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-04","week":"星期日","sunrise":"","sunset":"","night":{"weather":"多云","templow":"20","img":"1","winddirect":"","windpower":""},"day":{"weather":"晴","temphigh":"32","img":"0","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-05","week":"星期一","sunrise":"","sunset":"","night":{"weather":"小雨","templow":"17","img":"7","winddirect":"","windpower":""},"day":{"weather":"阴","temphigh":"28","img":"2","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-06","week":"星期二","sunrise":"","sunset":"","night":{"weather":"多云","templow":"15","img":"1","winddirect":"","windpower":""},"day":{"weather":"阴","temphigh":"25","img":"2","winddirect":"南风","windpower":"小于3级"}},{"date":"2017-06-07","week":"星期三","sunrise":"","sunset":"","night":{"weather":"少云","templow":"18","img":"1","winddirect":"","windpower":""},"day":{"weather":"局部多云","temphigh":"29","img":"1","winddirect":"南风","windpower":"3级"}},{"date":"2017-06-08","week":"星期四","sunrise":"","sunset":"","night":{"weather":"晴","templow":"19","img":"0","winddirect":"","windpower":""},"day":{"weather":"零散阵雨","temphigh":"32","img":"7","winddirect":"西北偏西风","windpower":"3级"}},{"date":"2017-06-09","week":"星期五","sunrise":"","sunset":"","night":{"weather":"局部多云","templow":"21","img":"1","winddirect":"","windpower":""},"day":{"weather":"局部多云","temphigh":"34","img":"1","winddirect":"西风","windpower":"3级"}}]
         * aqi : {"so2":"4","so224":"3","no2":"65","no224":"43","co":"0.880","co24":"0.660","o3":"70","o38":"33","o324":"63","pm10":"143","pm1024":"86","pm2_5":"114","pm2_524":"60","iso2":"2","ino2":"33","ico":"10","io3":"23","io38":"17","ipm10":"91","ipm2_5":"149","aqi":"149","primarypollutant":"PM2.5","quality":"轻度污染","timepoint":"2017-05-31 09:00:00","aqiinfo":{"level":"三级","color":"#FF7E00","affect":"易感人群症状有轻度加剧，健康人群出现刺激症状","measure":"儿童、老年人及心脏病、呼吸系统疾病患者应减少长时间、高强度的户外锻炼"}}
         * hourly : [{"time":"11:00","weather":"少云","temp":"29","img":"1"},{"time":"12:00","weather":"晴","temp":"31","img":"0"},{"time":"13:00","weather":"晴","temp":"32","img":"0"},{"time":"14:00","weather":"晴","temp":"33","img":"0"},{"time":"15:00","weather":"少云","temp":"33","img":"1"},{"time":"16:00","weather":"局部多云","temp":"33","img":"1"},{"time":"17:00","weather":"晴","temp":"33","img":"0"},{"time":"18:00","weather":"局部多云","temp":"32","img":"1"},{"time":"19:00","weather":"少云","temp":"29","img":"1"},{"time":"20:00","weather":"少云","temp":"27","img":"1"},{"time":"21:00","weather":"局部多云","temp":"26","img":"1"},{"time":"22:00","weather":"局部多云","temp":"25","img":"1"},{"time":"23:00","weather":"少云","temp":"23","img":"1"},{"time":"0:00","weather":"少云","temp":"22","img":"1"},{"time":"1:00","weather":"少云","temp":"21","img":"1"},{"time":"2:00","weather":"晴","temp":"20","img":"0"},{"time":"3:00","weather":"晴","temp":"19","img":"0"},{"time":"4:00","weather":"晴","temp":"18","img":"0"},{"time":"5:00","weather":"晴","temp":"18","img":"0"},{"time":"6:00","weather":"晴","temp":"19","img":"0"},{"time":"7:00","weather":"晴","temp":"22","img":"0"},{"time":"8:00","weather":"晴","temp":"23","img":"0"},{"time":"9:00","weather":"晴","temp":"25","img":"0"},{"time":"10:00","weather":"晴","temp":"26","img":"0"}]
         */

        public String city;
        public String cityid;
        public String citycode;
        public String date;
        public String week;
        public String weather;
        public String temp;
        public String temphigh;
        public String templow;
        public String img;
        public String humidity;
        public String pressure;
        public String windspeed;
        public String winddirect;
        public String windpower;
        public String updatetime;
        public AqiBean aqi;
        public List<IndexBean> index;
        public List<DailyBean> daily;
        public List<HourlyBean> hourly;

        public static class AqiBean {
            /**
             * so2 : 4
             * so224 : 3
             * no2 : 65
             * no224 : 43
             * co : 0.880
             * co24 : 0.660
             * o3 : 70
             * o38 : 33
             * o324 : 63
             * pm10 : 143
             * pm1024 : 86
             * pm2_5 : 114
             * pm2_524 : 60
             * iso2 : 2
             * ino2 : 33
             * ico : 10
             * io3 : 23
             * io38 : 17
             * ipm10 : 91
             * ipm2_5 : 149
             * aqi : 149
             * primarypollutant : PM2.5
             * quality : 轻度污染
             * timepoint : 2017-05-31 09:00:00
             * aqiinfo : {"level":"三级","color":"#FF7E00","affect":"易感人群症状有轻度加剧，健康人群出现刺激症状","measure":"儿童、老年人及心脏病、呼吸系统疾病患者应减少长时间、高强度的户外锻炼"}
             */

            public String so2;
            public String so224;
            public String no2;
            public String no224;
            public String co;
            public String co24;
            public String o3;
            public String o38;
            public String o324;
            public String pm10;
            public String pm1024;
            public String pm2_5;
            public String pm2_524;
            public String iso2;
            public String ino2;
            public String ico;
            public String io3;
            public String io38;
            public String ipm10;
            public String ipm2_5;
            public String aqi;
            public String primarypollutant;
            public String quality;
            public String timepoint;
            public AqiinfoBean aqiinfo;

            public static class AqiinfoBean {
                /**
                 * level : 三级
                 * color : #FF7E00
                 * affect : 易感人群症状有轻度加剧，健康人群出现刺激症状
                 * measure : 儿童、老年人及心脏病、呼吸系统疾病患者应减少长时间、高强度的户外锻炼
                 */

                public String level;
                public String color;
                public String affect;
                public String measure;
            }
        }

        public static class IndexBean {
            /**
             * iname : 空调指数
             * ivalue :
             * detail :
             * index :
             */

            public String iname;
            public String ivalue;
            public String detail;
            public String index;
        }

        public static class DailyBean {
            /**
             * date : 2017-05-31
             * week : 星期三
             * sunrise :
             * sunset :
             * night : {"weather":"阴","templow":"18","img":"2","winddirect":"","windpower":""}
             * day : {"weather":"阴","temphigh":"33","img":"2","winddirect":"南风","windpower":"小于3级"}
             */

            public String date;
            public String week;
            public String sunrise;
            public String sunset;
            public NightBean night;
            public DayBean day;

            public static class NightBean {
                /**
                 * weather : 阴
                 * templow : 18
                 * img : 2
                 * winddirect :
                 * windpower :
                 */

                public String weather;
                public String templow;
                public String img;
                public String winddirect;
                public String windpower;
            }

            public static class DayBean {
                /**
                 * weather : 阴
                 * temphigh : 33
                 * img : 2
                 * winddirect : 南风
                 * windpower : 小于3级
                 */

                public String weather;
                public String temphigh;
                public String img;
                public String winddirect;
                public String windpower;
            }
        }

        public static class HourlyBean {
            /**
             * time : 11:00
             * weather : 少云
             * temp : 29
             * img : 1
             */

            public String time;
            public String weather;
            public String temp;
            public String img;
        }
    }
}
